import http from "../utils/http";

export const saveCar = (data) => http.post("car/saveCar", data);
export const updateCar = (data) => http.put("car/updateCar", data);
export const deleteCar = (id) => http.delete(`car/deleteCar/${id}`);
export const getCarList = (params) =>
  http.get(`car/getCarList`, { params });

